package com.example.business.request;

import jakarta.validation.constraints.NotNull;

public class UpdateCartItemAmountRequest {
    @NotNull(message = "【商品 SKU ID】不能为空")
    private Long productSkuId;

    /**
     * 计算因子
     * <p>
     * 1 代表 +1
     * -1 代表 -1
     */
    private Integer factor;

    public Long getProductSkuId() {
        return productSkuId;
    }

    public void setProductSkuId(Long productSkuId) {
        this.productSkuId = productSkuId;
    }

    public Integer getFactor() {
        return factor;
    }

    public void setFactor(Integer factor) {
        this.factor = factor;
    }
}
